package com.neusoft.shry.dao;

import java.util.List;

import com.neusoft.shry.dto.EmpDto;
import com.zero.basic.dao.IBaseDao;
import com.zero.basic.exception.SmsDaoException;
import com.zero.basic.model.Pager;
import com.zero.mms.model.Employee;
import com.zero.mms.model.Position;

public interface EmpDao extends IBaseDao<Employee> {
	
	//get an employee by id
	public Employee getEmpById(Integer emp_id) throws SmsDaoException;
	
	//get employees by conditions
	public Pager<EmpDto> getEmpByCondition(Integer emp_id,String emp_name,String dep_name) throws SmsDaoException;
	
	//get positions of a department
	public List<Position> getDepPos(Integer dep_id) throws SmsDaoException;

}
